<?php
class City extends ActiveRecord {
	public $tableName = 'city_url';
	public $pkName = 'city';

	/**
	 * Метод возвращает список стран
	 */
	public function getArrCities () {
		$objDB = Service_Database::instance();
		$stmt = "SELECT `city_url`.`city`,`city_url`.`city_name`
		FROM `city_url` ORDER BY `sort_num`";
		$arrCities = $objDB->select($stmt);
		return $arrCities;
	}
}